package bean;

public class CityCodeBean
{
    public static final transient String TABLE_NAME = "city_code2";

    private Integer id;

    private String name;

    private String gbcode;

    private String alias;

    private byte level;

    private Integer parent;

    private String pinyin;

    private String pinyin_simple;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getGbcode()
    {
        return gbcode;
    }

    public void setGbcode(String gbcode)
    {
        this.gbcode = gbcode;
    }

    public String getAlias()
    {
        return alias;
    }

    public void setAlias(String alias)
    {
        this.alias = alias;
    }

    public byte getLevel()
    {
        return level;
    }

    public void setLevel(byte level)
    {
        this.level = level;
    }

    public Integer getParent()
    {
        return parent;
    }

    public void setParent(Integer parent)
    {
        this.parent = parent;
    }

    public String getPinyin()
    {
        return pinyin;
    }

    public void setPinyin(String pinyin)
    {
        this.pinyin = pinyin;
    }

    public String getPinyin_simple()
    {
        return pinyin_simple;
    }

    public void setPinyin_simple(String pinyin_simple)
    {
        this.pinyin_simple = pinyin_simple;
    }

    @Override
    public String toString()
    {
        return "CityCodeBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gbcode='" + gbcode + '\'' +
                ", alias='" + alias + '\'' +
                ", level=" + level +
                ", parent=" + parent +
                ", pinyin='" + pinyin + '\'' +
                ", pinyin_simple='" + pinyin_simple + '\'' +
                '}';
    }
}
